package com.tjy.wfx.model;

import javax.persistence.Id;
import javax.persistence.Table;

@Table
public class SysRole {
@Id
  private String roleCode;
  private String roleName;
  private String roleFlag;
  private String roleDesc;
  private Integer roleOrder;
  private Integer roleType;


  public String getRoleCode() {
    return roleCode;
  }

  public void setRoleCode(String roleCode) {
    this.roleCode = roleCode;
  }


  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }


  public String getRoleFlag() {
    return roleFlag;
  }

  public void setRoleFlag(String roleFlag) {
    this.roleFlag = roleFlag;
  }


  public String getRoleDesc() {
    return roleDesc;
  }

  public void setRoleDesc(String roleDesc) {
    this.roleDesc = roleDesc;
  }


  public Integer getRoleOrder() {
    return roleOrder;
  }

  public void setRoleOrder(Integer roleOrder) {
    this.roleOrder = roleOrder;
  }


  public Integer getRoleType() {
    return roleType;
  }

  public void setRoleType(Integer roleType) {
    this.roleType = roleType;
  }

  @Override
  public String toString() {
    return "SysRole{" +
            "roleCode='" + roleCode + '\'' +
            ", roleName='" + roleName + '\'' +
            ", roleFlag='" + roleFlag + '\'' +
            ", roleDesc='" + roleDesc + '\'' +
            ", roleOrder=" + roleOrder +
            ", roleType=" + roleType +
            '}';
  }
}
